﻿using PlutoStudio.EntityFramework.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Data.Entity;
using EntityFramework.Extensions;
using System.ComponentModel.Composition;

namespace PlutoStudio.EntityFramework
{
    public abstract class RepositoryBase<TEntity>:Primitives.RepositoryBase<TEntity> where TEntity:EntityBase
    {
        #region 属性

        /// <summary>
        ///     获取 仓储上下文的实例
        /// </summary>
        [Import]
        public override IUnitOfWork UnitOfWork
        {
            get; set;
        }
        #endregion
    }

}
